//---------------------------------------------------------------------------

#ifndef TLanguageH
#define TLanguageH

#include <ComCtrls.hpp>
#include <vector.h>
//---------------------------------------------------------------------------


class TLanguageItem
{
public:
	AnsiString Name;
	AnsiString English;
	AnsiString Chinese;
	TLanguageItem() {Name = ""; English = ""; Chinese = "";};
};

//---------------------------------------------------------------------------
class TLanguage : public vector<TLanguageItem>
{
public:
	void __fastcall Add(const AnsiString Name, const AnsiString English, const AnsiString Chinese);
	AnsiString __fastcall GetChinese(const AnsiString Name);
	AnsiString __fastcall GetEnglish(const AnsiString Name);
	bool __fastcall Initialize(void);
};

#endif
